﻿namespace Flowertwig.Utils.Compression.ZLibExtensions
{
    /// <summary>
    /// The kind of compression used for an entry in an archive
    /// </summary>
    public enum CompressionMethod
    {
        /// <summary>
        /// A direct copy of the file contents is held in the archive
        /// </summary>
        Stored     = 0,
		
        /// <summary>
        /// Common Zip compression method using a sliding dictionary 
        /// of up to 32KB and secondary compression from Huffman/Shannon-Fano trees
        /// </summary>
        Deflated   = 8,
		
        /// <summary>
        /// An extension to deflate with a 64KB window. Not supported by #Zip
        /// </summary>
        Deflate64  = 9,
		
        /// <summary>
        /// Not supported by #Zip
        /// </summary>
        BZip2      = 11,
		
        /// <summary>
        /// WinZip special for AES encryption, Not supported by #Zip
        /// </summary>
        WinZipAES  = 99,
		
    }
}